Hello,
I have tried to a Script unit as follows:
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
...
private static def log = LogFactory.getLog(getClass());
log.debug("CIAO");
...
but I always get the following error:
21 gen 2013 11:32:35,361 ERROR [http-3308-6] (com.webratio.units.utility.rtx.ScriptUnitService:195) - [scu9r][CreatePDF]Unable to execute the script
org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.IllegalArgumentException: **argument type mismatch**
What is the correct way to log data from within a Script unit (WebRatio 5.1.x)?
Thanks,
Salvatore